/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ModelLayer;

/**
 *
 * @author Sharif
 */
public class SalesOrderProduct {
    private SalesOrder salesOrder;
    private Product product;
    private double amount;

    public SalesOrderProduct(SalesOrder salesOrder, Product product, double amount)
    {
        this.salesOrder = salesOrder;
        this.product = product;
        this.amount = amount;
    }

    public SalesOrderProduct()
    {
    }

    /**
     * @return the salesOrder
     */
    public SalesOrder getSalesOrder()
    {
        return salesOrder;
    }

    /**
     * @param salesOrder the salesOrder to set
     */
    public void setSalesOrder(SalesOrder salesOrder)
    {
        this.salesOrder = salesOrder;
    }

    /**
     * @return the product
     */
    public Product getProduct()
    {
        return product;
    }

    /**
     * @param product the product to set
     */
    public void setProduct(Product product)
    {
        this.product = product;
    }

    /**
     * @return the amount
     */
    public double getAmount() {
        return amount;
    }

    /**
     * @param amount the amount to set
     */
    public void setAmount(double amount) {
        this.amount = amount;
    }

    
}
